﻿@{
    ViewBag.Title = "查看用户信息";
    Layout = "~/Views/Shared/_Main.cshtml";
}
@section Head{
    <style>
        #ViewDialog .b
        {
            width: 70px;
            font-weight: bold;
            display: inline-block;
            text-align: right;
        }
        #ViewDialog span{ line-height:20px;}
    </style>
    <script type="text/javascript">
        $(function () {
            $.post("/SysUser/Details/?id=" + $.getUrlParam("id"), function (res) {
                jv.SetDivJson($("#ViewDialog"), 4, res);
                if (res.Status == 1)
                    $("#spa_Status").html("启用");
                else
                    $("#spa_Status").html("禁用");
                if (res.UserType == 1)
                    $("#spa_UserType").html("录入");
                else
                    $("#spa_UserType").html("导入");

            }); ;
        });  
    </script>
}
<div style="margin: 5px;">
    <table class="listTitle">
        <tr>
            <td width="15">
                <img src="/images/search.png" />
            </td>
            <td width="200">
                用户信息
            </td>
            <td align="right">
            </td>
        </tr>
    </table>
    <div id="ViewDialog" class="searchArea">
        <span class="b">工号：</span><span id="spa_EmployeeCode"></span><br />
        <span class="b">姓名：</span><span id="spa_EmployeeName" class="info"></span><br />
        <span class="b">性别：</span><span id="spa_Gender" class="info"></span><br />
        <span class="b">用户名：</span><span id="spa_Username" class="info"></span><br />
        <span class="b">公司：</span><span id="spa_CompanyName" class="info"></span><br />
        <span class="b">部门：</span><span id="spa_Department" class="info"></span><br />
        <span class="b">岗位：</span><span id="spa_Post" class="info"></span><br />
        <span class="b">手机：</span><span id="spa_Mobile" class="info"></span><br />
        <span class="b">Email：</span><span id="spa_OfficeEmail" class="info"></span><br />
        <span class="b">办工电话：</span><span id="spa_OfficeTel" class="info"></span><br />
        <span class="b">家庭电话：</span><span id="spa_HomeTel" class="info"></span><br />
        <span class="b">状态：</span><span id="spa_Status" class="info"></span><br />
        <span class="b">添加类型：</span><span id="spa_UserType" class="info"></span><br />
    </div>
</div>
